<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR" import="java.util.*,model.MemberVO;"%>
<%
request.setCharacterEncoding("KSC5601");

String memberName ="";
String memberPw = "";
String memberId = "";
String key ="";

@SuppressWarnings("unchecked")
List<MemberVO> memberkey =  (List<MemberVO>)session.getAttribute("memberkey");

if(memberkey == null){
	response.sendRedirect("login.delta");
}else
for(MemberVO vo : memberkey){
	int intId = vo.getMem_id();
	memberId = Integer.toString(vo.getMem_id());
	memberName = vo.getName();
	memberPw = vo.getPassword();
	key = vo.getKey();
	//out.println("session key : "+key);
	if(memberName.equals("")){
		response.sendRedirect("login.delta");
	}
}

%>